/// 应用程序枚举定义文件 - Application Enums Definition File
/// 包含应用程序中使用的所有枚举类型
/// This file contains all enum types used throughout the application

/// 设备类型枚举 - Device Type Enum
/// 用于响应式布局，区分不同设备类型
/// Used for responsive layout to distinguish different device types
enum DeviceType {
  /// 移动设备 - Mobile device (width < 600)
  mobile,

  /// 平板设备 - Tablet device (600 <= width < 1200)
  tablet,

  /// 桌面设备 - Desktop device (width >= 1200)
  desktop,
}

/// 排序类型枚举 - Sort Type Enum
/// 定义Prompt列表的各种排序方式
/// Defines various sorting methods for the Prompt list
enum SortType {
  /// 按名称排序 - Sort by name
  name,

  /// 按创建日期排序 - Sort by creation date
  dateCreated,

  /// 按最后使用时间排序 - Sort by last used time
  lastUsed,

  /// 按更新时间降序 - Sort by update time descending
  updatedDesc,

  /// 按更新时间升序 - Sort by update time ascending
  updatedAsc,

  /// 按创建时间降序 - Sort by creation time descending
  createdDesc,

  /// 按创建时间升序 - Sort by creation time ascending
  createdAsc,

  /// 按标题升序 - Sort by title ascending
  titleAsc,

  /// 按标题降序 - Sort by title descending
  titleDesc,

  /// 按大小降序 - Sort by size descending
  sizeDesc,
}

/// 视图模式枚举 - View Mode Enum
/// 定义Prompt列表的显示模式
/// Defines display modes for the Prompt list
enum ViewMode {
  /// 列表视图 - List view (vertical layout)
  list,

  /// 网格视图 - Grid view (card layout)
  grid,
}

/// 主页菜单枚举 - Home Menu Enum
/// 定义主页的各种菜单选项
/// Defines various menu options for the home page
enum HomeMenu {
  /// Prompt管理 - Prompt management
  prompts,

  /// 快速测试 - Quick test
  quickTest,

  /// 测试任务 - Test tasks
  testTasks,

  /// 分类管理 - Category management
  categories,

  /// 标签管理 - Tag management
  tags,

  /// LLM管理 - LLM management
  llms,

  /// 使用统计 - Usage statistics
  usage,

  /// 公司管理 - Company management
  company,

  /// 团队管理 - Team management
  team,

  /// 社区分享 - Community sharing
  community,
}
